package com.ruoyi.system.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;

import java.util.Date;

/**
 * @Package: com.ruoyi.system.domain.vo
 * @ClassName: PurchaseOrderVo.java
 * @Description: 采购信息
 * @author: zhengxiaolong
 * @date: 2025/1/25 14:11
 */
@Data
public class PurchaseOrderVo {

    /** 主键 */
    private Long id;

    /** 供应商ID */
    @Excel(name = "供应商")
    private String supplierName;

    /** 采购项目ID */
    @Excel(name = "采购项目")
    private String materialName;

    /** 采购数量 */
    @Excel(name = "采购数量")
    private Long quantity;

    /** 采购总金额 */
    @Excel(name = "采购总金额")
    private Long totalPrice;

    /** 是否删除 */
    private Integer isDelete;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedTime;

}